/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans KR', sans-serif;
  line-height: 1.6;
  color: #2d3748;
  scroll-behavior: smooth;
}

#app {
  height: 100%;
}

/* 链接样式 */
a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

/* 按钮样式覆盖 */
.el-button {
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.el-button--primary {
  background: #4f46e5;
  border-color: #4f46e5;
}

.el-button--primary:hover {
  background: #4338ca;
  border-color: #4338ca;
}

/* 菜单样式覆盖 */
.el-menu {
  border: none;
  background: transparent;
}

.el-menu--horizontal {
  border-bottom: none;
}

.el-menu-item {
  border-bottom: none !important;
}

/* 下拉菜单样式 */
.el-dropdown-menu {
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.el-dropdown-menu__item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.el-dropdown-menu__item:hover {
  background: #f7fafc;
}

/* 工具类 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-4 {
  gap: 16px;
}

/* 响应式布局 */
@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 16px;
  }
}
